package com.zjp.model.address;

import java.util.Date;


/**
 * 地址表
 * @author Administrator
 *
 */
public class Addressinfo {

	/**
	 * id
	 */
	private long id;
	/**
	 * 用户id
	 */
	private long userId;
	/**
	 * 省
	 */
	private String province;
	/**
	 * 市
	 */
	private String city;
	/**
	 * 县城
	 */
	private String county;
	/**
	 * 区
	 */
	private String area;
	/**
	 * 街道
	 */
	private String road;
	/**
	 * 地址类型：1.卖家地址；2.买家地址
	 */
	private int atype;
	/**
	 * 创建时间
	 */
	private Date created;
	/**
	 * 修改时间
	 */
	private Date modifyd;
	/**
	 * 删除时间
	 */
	private Date deleted;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCounty() {
		return county;
	}
	public void setCounty(String county) {
		this.county = county;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getRoad() {
		return road;
	}
	public void setRoad(String road) {
		this.road = road;
	}
	public int getAtype() {
		return atype;
	}
	public void setAtype(int atype) {
		this.atype = atype;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModifyd() {
		return modifyd;
	}
	public void setModifyd(Date modifyd) {
		this.modifyd = modifyd;
	}
	public Date getDeleted() {
		return deleted;
	}
	public void setDeleted(Date deleted) {
		this.deleted = deleted;
	}
	public Addressinfo(long id, long userId, String province, String city,
			String county, String area, String road, int atype, Date created,
			Date modifyd, Date deleted) {
		super();
		this.id = id;
		this.userId = userId;
		this.province = province;
		this.city = city;
		this.county = county;
		this.area = area;
		this.road = road;
		this.atype = atype;
		this.created = created;
		this.modifyd = modifyd;
		this.deleted = deleted;
	}
	public Addressinfo() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	
	
}
